package com.erhuogo.entity;

/**
 * 图片实体类
 * 
 * @author aibinxiao
 * @date 2016年10月24日 下午6:24:31
 */
public class Image {
	private Integer id;// 图片ID
	private String path;// 图片所在路径
	private String fileName;// 图片文件名
	private Integer commodityId;// 图片所属商品ID

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Integer getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(Integer commodityId) {
		this.commodityId = commodityId;
	}

	@Override
	public String toString() {
		return "Image [id=" + id + ", path=" + path + ", fileName=" + fileName + ", commodityId=" + commodityId + "]";
	}

}
